package com.coin900.coin.persist.fu;

import com.coin900.coin.persist.FuVO;

/**
 * 分享统计表
 *
 * @author shui
 * @create 2018-1-29
 **/
public class FuUserShareRecordVO extends FuVO {

    /**
     * 注册用户 id
     */
    private Long userId;

    /**
     * 分享用户 id
     */
    private Long shareUserId;

    /***** 非持久化数据 START *****/

    /**
     * 创建时间 格式化
     */
    private String createDateFormate;

    /**
     * 头像
     */
    private String portrait;

    /**
     * 注册用户用户名
     */
    private String username;

    /**
     * 分享用户用户名
     */
    private String shareUsername;

    /***** 非持久化数据 END *****/

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getShareUserId() {
        return shareUserId;
    }

    public void setShareUserId(Long shareUserId) {
        this.shareUserId = shareUserId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getShareUsername() {
        return shareUsername;
    }

    public void setShareUsername(String shareUsername) {
        this.shareUsername = shareUsername;
    }

    public String getPortrait() {
        return portrait;
    }

    public void setPortrait(String portrait) {
        this.portrait = portrait;
    }

    public String getCreateDateFormate() {
        return createDateFormate;
    }

    public void setCreateDateFormate(String createDateFormate) {
        this.createDateFormate = createDateFormate;
    }

    @Override
    public String toString() {
        return super.toString() +
                "FuUserShareRecordVO{" +
                "userId=" + userId +
                ", shareUserId=" + shareUserId +
                ", username='" + username + '\'' +
                ", shareUsername='" + shareUsername + '\'' +
                ", portrait='" + portrait + '\'' +
                ", createDateFormate='" + createDateFormate + '\'' +
                '}';
    }
}